package com.wy2cloud.sample.zuulandauthserver.entity;

import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;
import java.util.Date;



/** 
 * AuthorizeUser 实体
 * @author wuyy(16349023@qq.com)
 * @date 2018年04月04日 11:57:29
 *
 */
@Table(name="authorize_user")
@Entity
public class AuthorizeUser implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	private String id;
	private String account;
	private String password;
	private String name;
	private String sex;
	private Date birthday;
	private String phone;
	private String email;
	private Date createTime;
	private Integer userLock;
	
	@Override
	public String toString(){
		return "id:"+this.id+","+"account:"+this.account+","+"password:"+this.password+","+"name:"+this.name+","+"sex:"+this.sex+","+"birthday:"+this.birthday+","+"phone:"+this.phone+","+"email:"+this.email+","+"createTime:"+this.createTime+","+"userLock:"+this.userLock;
	}
	

	
	@Id
	@GeneratedValue(generator="system-uuid")
	@GenericGenerator(name="system-uuid", strategy="uuid.hex")
	@Column(name = "id") 
	public String getId() {
		return this.id;
	}

	public void setId(String value) {
		this.id = value;
	}	

	
	@Column(name = "account") 
	public String getAccount() {
		return this.account;
	}

	public void setAccount(String value) {
		this.account = value;
	}	

	
	@Column(name = "password") 
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String value) {
		this.password = value;
	}	

	
	@Column(name = "name") 
	public String getName() {
		return this.name;
	}

	public void setName(String value) {
		this.name = value;
	}	

	
	@Column(name = "sex") 
	public String getSex() {
		return this.sex;
	}

	public void setSex(String value) {
		this.sex = value;
	}	

	
	@Column(name = "birthday") 
	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date value) {
		this.birthday = value;
	}	

	
	@Column(name = "phone") 
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String value) {
		this.phone = value;
	}	

	
	@Column(name = "email") 
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String value) {
		this.email = value;
	}	

	
	@Column(name = "create_time") 
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date value) {
		this.createTime = value;
	}	

	
	@Column(name = "user_lock") 
	public Integer getUserLock() {
		return this.userLock;
	}

	public void setUserLock(Integer value) {
		this.userLock = value;
	}	
}